var currHZ=myexplorer(),//浏览器不同的刷新频率,动态获取，暂且不要写死60
    countNum= 0,
    moveTimer=null;

window.onresize = function() {
    getRem(100, 1920);
};
window.onload = function() {
    getRem(100, 1920);
};
function moveFn() {
    //每次清空上一个定时器
    if(!!window.moveTimer) cancelAnimationFrame(window.moveTimer);
    countNum++;
    if(countNum >= (10*currHZ)) {///10秒
        countNum = 0;
        /*........*/
    }
    //开启定时器
    window.moveTimer = requestAnimationFrame(moveFn);
}